
import { routerTool } from 'utils';

// 判断当前路径是否是首次使用APP的可用区域
export async function isInFirstUseArea (pathname) {
  const accessWhiteList = [
    routerTool.getPathByName('OrganizationAlert'),
    routerTool.getPathByName('JoinOrganization'),
    routerTool.getPathByName('CreateOrganization'),
  ];

  console.log(accessWhiteList, 'list');

  return accessWhiteList.includes(pathname);
}